﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace GokinSolar.MES.UI.TestLJ
{
	public class SaleOrderSQ
	{
		public SaleOrderSQ()
		{ }
		#region Model
		private int _autoid;
		private int? _id;
		private string _cinvcode;
		private bool _bservice;
		private string _cinvname;
		private string _cinvaddcode;
		private Guid _body_outid;
		private string _cinvstd;
		private string _cunitid;
		private string _cinvm_unit;
		private int _igrouptype;
		private string _cgroupcode;
		private string _cinva_unit;
		private string _cinvdefine1;
		private string _cinvdefine2;
		private string _cinvdefine3;
		private string _cinvdefine4;
		private string _cinvdefine5;
		private string _cinvdefine6;
		private string _cinvdefine7;
		private string _cinvdefine8;
		private string _cinvdefine9;
		private string _cinvdefine10;
		private int? _cinvdefine11;
		private int? _cinvdefine12;
		private decimal? _cinvdefine13;
		private decimal? _cinvdefine14;
		private DateTime? _cinvdefine15;
		private DateTime? _cinvdefine16;
		private decimal? _iquantity;
		private decimal? _inum;
		private decimal? _iquotedprice;
		private decimal? _iunitprice;
		private decimal? _iinvsprice;
		private decimal? _iinvncost;
		private decimal? _imoney;
		private decimal? _itax;
		private decimal? _isum;
		private decimal? _inatunitprice;
		private decimal? _inatmoney;
		private decimal? _inattax;
		private decimal? _inatsum;
		private decimal? _inatdiscount;
		private decimal? _idiscount;
		private decimal? _ifhquantity;
		private decimal? _ifhnum;
		private decimal? _ifhmoney;
		private decimal? _ikpquantity;
		private decimal? _fsalecost;
		private decimal? _fsaleprice;
		private decimal? _iexchsum;
		private decimal? _imoneysum;
		private string _cbsysbarcode;
		private decimal? _ikpnum;
		private decimal? _ikpmoney;
		private DateTime? _dpredate;
		private string _cmemo;
		private string _cfree1;
		private string _cfree2;
		private decimal? _iinvexchrate;
		private decimal? _iinvlscost;
		private decimal? _itaxunitprice;
		private bool _bfree1;
		private bool _bfree2;
		private bool _bfree3;
		private bool _bfree4;
		private bool _bfree5;
		private bool _bfree6;
		private bool _bfree7;
		private bool _bfree8;
		private bool _bfree9;
		private bool _bfree10;
		private bool _bsalepricefree1;
		private bool _bsalepricefree2;
		private bool _bsalepricefree3;
		private bool _bsalepricefree4;
		private bool _bsalepricefree5;
		private bool _bsalepricefree6;
		private bool _bsalepricefree7;
		private bool _bsalepricefree8;
		private bool _bsalepricefree9;
		private bool _bsalepricefree10;
		private bool _binvtype;
		private decimal? _itaxrate;
		private decimal? _kl;
		private decimal? _kl2;
		private string _cdefine22;
		private string _cdefine23;
		private string _cdefine24;
		private string _cdefine25;
		private decimal? _cdefine26;
		private decimal? _cdefine27;
		private string _cdefine28;
		private string _cdefine29;
		private string _cdefine30;
		private string _cdefine31;
		private string _cdefine32;
		private string _cdefine33;
		private int? _cdefine34;
		private int? _cdefine35;
		private DateTime? _cdefine36;
		private DateTime? _cdefine37;
		private int _isosid;
		private string _citemcode;
		private string _citem_class;
		private decimal? _dkl1;
		private decimal? _dkl2;
		private string _citemname;
		private string _citem_cname;
		private string _cfree3;
		private string _cfree4;
		private string _cfree5;
		private string _cfree6;
		private string _cfree7;
		private string _cfree8;
		private string _cfree9;
		private string _cfree10;
		private int? _cinvauthid;
		private string _cscloser;
		private int? _irowno;
		private decimal? _imoquantity;
		private int? _icusbomid;
		private string _cconfigstatus;
		private string _ccomunitcode;
		private int? _ippartseqid;
		private int? _ippartid;
		private decimal? _ippartqty;
		private DateTime? _dpremodate;
		private int? _iquoid;
		private string _cquocode;
		private string _cbarcode;
		private string _ccontractid;
		private string _ccontracttagcode;
		//private Guid _ccontractrowguid;
		private string _batomodel;
		private string _bptomodel;
		private string _ccusinvcode;
		private string _ccusinvname;
		private decimal? _fcusminprice;
		private string _borderbom;
		private int _borderbomover;
		private int? _idemandtype;
		private string _cdemandcode;
		private string _cdemandmemo;
		private decimal? _iprekeepquantity;
		private decimal? _iprekeeptotquantity;
		private decimal? _iprekeeptotnum;
		private int _busecusbom;
		private decimal? _iprekeepnum;
		private string _binvmodel;
		private string _csrpolicy;
		private decimal? _fpurquan;
		private int _btracksalebill;
		private int? _iadvancedate;
		private DateTime? _dreleasedate;
		private decimal? _fimquantity;
		private decimal? _fomquantity;
		private bool _bproxyforeign;
		private bool _ballpurchase;
		private bool _bspecialorder;
		private bool _binvbatch;
		private bool _btrack;
		private DateTime? _dedate;
		private bool _bproductbill;
		private int? _iaoids;
		private string _cpreordercode;
		private string _dbclosedate;
		private DateTime? _dbclosesystime;
		private int _bgift;
		private int _bsaleprice;
		private int? _iinvid;
		private decimal _finquantity;
		private decimal _foutquantity;
		private decimal _fretquantity;
		private decimal? _fretnum;
		private long? _iimid;
		private string _ccorvouchtype;
		private string _ccorvouchtypename;
		private int? _icorrowno;
		private string _cparentcode;
		private string _cchildcode;
		private decimal? _fchildqty;
		private decimal? _fchildrate;
		private int? _icalctype;
		private string _cordercode;
		private int _bproducebyfeatureallocate;
		private long? _icurpartid;
		private string _cfactorycode;
		private string _cfactoryname;
		private int? _gcsourceid;
		private int? _gcsourceids;
		private string _cdetailsdemandcode;
		private string _cdetailsdemandmemo;
		private string _cvencode;
		private string _cvenname;
		private string _cvenabbname;
		private string _cmdepcode;
		private string _cmdepname;
		private int? _forecastdid;
		private decimal? _fappqty;
		private decimal? _fstockquan;
		private decimal? _fstockquano;
		private decimal? _fcanusequan;
		private decimal? _fcanusequano;
		private string _tableName = "";
		private string _cDefine33;

		public string cDefine33
		{
			get { return _cDefine33; }
			set { _cDefine33 = value; }
		}
		public string tableName
		{
			get { return _tableName; }
			set { _tableName = value; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int autoid
		{
			set { _autoid = value; }
			get { return _autoid; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? id
		{
			set { _id = value; }
			get { return _id; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinvcode
		{
			set { _cinvcode = value; }
			get { return _cinvcode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bservice
		{
			set { _bservice = value; }
			get { return _bservice; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinvname
		{
			set { _cinvname = value; }
			get { return _cinvname; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinvaddcode
		{
			set { _cinvaddcode = value; }
			get { return _cinvaddcode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public Guid body_outid
		{
			set { _body_outid = value; }
			get { return _body_outid; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinvstd
		{
			set { _cinvstd = value; }
			get { return _cinvstd; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cunitid
		{
			set { _cunitid = value; }
			get { return _cunitid; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinvm_unit
		{
			set { _cinvm_unit = value; }
			get { return _cinvm_unit; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int igrouptype
		{
			set { _igrouptype = value; }
			get { return _igrouptype; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cgroupcode
		{
			set { _cgroupcode = value; }
			get { return _cgroupcode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinva_unit
		{
			set { _cinva_unit = value; }
			get { return _cinva_unit; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinvdefine1
		{
			set { _cinvdefine1 = value; }
			get { return _cinvdefine1; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinvdefine2
		{
			set { _cinvdefine2 = value; }
			get { return _cinvdefine2; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinvdefine3
		{
			set { _cinvdefine3 = value; }
			get { return _cinvdefine3; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinvdefine4
		{
			set { _cinvdefine4 = value; }
			get { return _cinvdefine4; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinvdefine5
		{
			set { _cinvdefine5 = value; }
			get { return _cinvdefine5; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinvdefine6
		{
			set { _cinvdefine6 = value; }
			get { return _cinvdefine6; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinvdefine7
		{
			set { _cinvdefine7 = value; }
			get { return _cinvdefine7; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinvdefine8
		{
			set { _cinvdefine8 = value; }
			get { return _cinvdefine8; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinvdefine9
		{
			set { _cinvdefine9 = value; }
			get { return _cinvdefine9; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cinvdefine10
		{
			set { _cinvdefine10 = value; }
			get { return _cinvdefine10; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? cinvdefine11
		{
			set { _cinvdefine11 = value; }
			get { return _cinvdefine11; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? cinvdefine12
		{
			set { _cinvdefine12 = value; }
			get { return _cinvdefine12; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? cinvdefine13
		{
			set { _cinvdefine13 = value; }
			get { return _cinvdefine13; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? cinvdefine14
		{
			set { _cinvdefine14 = value; }
			get { return _cinvdefine14; }
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? cinvdefine15
		{
			set { _cinvdefine15 = value; }
			get { return _cinvdefine15; }
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? cinvdefine16
		{
			set { _cinvdefine16 = value; }
			get { return _cinvdefine16; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? iquantity
		{
			set { _iquantity = value; }
			get { return _iquantity; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? inum
		{
			set { _inum = value; }
			get { return _inum; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? iquotedprice
		{
			set { _iquotedprice = value; }
			get { return _iquotedprice; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? iunitprice
		{
			set { _iunitprice = value; }
			get { return _iunitprice; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? iinvsprice
		{
			set { _iinvsprice = value; }
			get { return _iinvsprice; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? iinvncost
		{
			set { _iinvncost = value; }
			get { return _iinvncost; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? imoney
		{
			set { _imoney = value; }
			get { return _imoney; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? itax
		{
			set { _itax = value; }
			get { return _itax; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? isum
		{
			set { _isum = value; }
			get { return _isum; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? inatunitprice
		{
			set { _inatunitprice = value; }
			get { return _inatunitprice; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? inatmoney
		{
			set { _inatmoney = value; }
			get { return _inatmoney; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? inattax
		{
			set { _inattax = value; }
			get { return _inattax; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? inatsum
		{
			set { _inatsum = value; }
			get { return _inatsum; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? inatdiscount
		{
			set { _inatdiscount = value; }
			get { return _inatdiscount; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? idiscount
		{
			set { _idiscount = value; }
			get { return _idiscount; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? ifhquantity
		{
			set { _ifhquantity = value; }
			get { return _ifhquantity; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? ifhnum
		{
			set { _ifhnum = value; }
			get { return _ifhnum; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? ifhmoney
		{
			set { _ifhmoney = value; }
			get { return _ifhmoney; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? ikpquantity
		{
			set { _ikpquantity = value; }
			get { return _ikpquantity; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? fsalecost
		{
			set { _fsalecost = value; }
			get { return _fsalecost; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? fsaleprice
		{
			set { _fsaleprice = value; }
			get { return _fsaleprice; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? iexchsum
		{
			set { _iexchsum = value; }
			get { return _iexchsum; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? imoneysum
		{
			set { _imoneysum = value; }
			get { return _imoneysum; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cbsysbarcode
		{
			set { _cbsysbarcode = value; }
			get { return _cbsysbarcode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? ikpnum
		{
			set { _ikpnum = value; }
			get { return _ikpnum; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? ikpmoney
		{
			set { _ikpmoney = value; }
			get { return _ikpmoney; }
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? dpredate
		{
			set { _dpredate = value; }
			get { return _dpredate; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cmemo
		{
			set { _cmemo = value; }
			get { return _cmemo; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cfree1
		{
			set { _cfree1 = value; }
			get { return _cfree1; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cfree2
		{
			set { _cfree2 = value; }
			get { return _cfree2; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? iinvexchrate
		{
			set { _iinvexchrate = value; }
			get { return _iinvexchrate; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? iinvlscost
		{
			set { _iinvlscost = value; }
			get { return _iinvlscost; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? itaxunitprice
		{
			set { _itaxunitprice = value; }
			get { return _itaxunitprice; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bfree1
		{
			set { _bfree1 = value; }
			get { return _bfree1; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bfree2
		{
			set { _bfree2 = value; }
			get { return _bfree2; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bfree3
		{
			set { _bfree3 = value; }
			get { return _bfree3; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bfree4
		{
			set { _bfree4 = value; }
			get { return _bfree4; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bfree5
		{
			set { _bfree5 = value; }
			get { return _bfree5; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bfree6
		{
			set { _bfree6 = value; }
			get { return _bfree6; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bfree7
		{
			set { _bfree7 = value; }
			get { return _bfree7; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bfree8
		{
			set { _bfree8 = value; }
			get { return _bfree8; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bfree9
		{
			set { _bfree9 = value; }
			get { return _bfree9; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bfree10
		{
			set { _bfree10 = value; }
			get { return _bfree10; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bsalepricefree1
		{
			set { _bsalepricefree1 = value; }
			get { return _bsalepricefree1; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bsalepricefree2
		{
			set { _bsalepricefree2 = value; }
			get { return _bsalepricefree2; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bsalepricefree3
		{
			set { _bsalepricefree3 = value; }
			get { return _bsalepricefree3; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bsalepricefree4
		{
			set { _bsalepricefree4 = value; }
			get { return _bsalepricefree4; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bsalepricefree5
		{
			set { _bsalepricefree5 = value; }
			get { return _bsalepricefree5; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bsalepricefree6
		{
			set { _bsalepricefree6 = value; }
			get { return _bsalepricefree6; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bsalepricefree7
		{
			set { _bsalepricefree7 = value; }
			get { return _bsalepricefree7; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bsalepricefree8
		{
			set { _bsalepricefree8 = value; }
			get { return _bsalepricefree8; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bsalepricefree9
		{
			set { _bsalepricefree9 = value; }
			get { return _bsalepricefree9; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bsalepricefree10
		{
			set { _bsalepricefree10 = value; }
			get { return _bsalepricefree10; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool binvtype
		{
			set { _binvtype = value; }
			get { return _binvtype; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? itaxrate
		{
			set { _itaxrate = value; }
			get { return _itaxrate; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? kl
		{
			set { _kl = value; }
			get { return _kl; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? kl2
		{
			set { _kl2 = value; }
			get { return _kl2; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cdefine22
		{
			set { _cdefine22 = value; }
			get { return _cdefine22; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cdefine23
		{
			set { _cdefine23 = value; }
			get { return _cdefine23; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cdefine24
		{
			set { _cdefine24 = value; }
			get { return _cdefine24; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cdefine25
		{
			set { _cdefine25 = value; }
			get { return _cdefine25; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? cdefine26
		{
			set { _cdefine26 = value; }
			get { return _cdefine26; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? cdefine27
		{
			set { _cdefine27 = value; }
			get { return _cdefine27; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cdefine28
		{
			set { _cdefine28 = value; }
			get { return _cdefine28; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cdefine29
		{
			set { _cdefine29 = value; }
			get { return _cdefine29; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cdefine30
		{
			set { _cdefine30 = value; }
			get { return _cdefine30; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cdefine31
		{
			set { _cdefine31 = value; }
			get { return _cdefine31; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cdefine32
		{
			set { _cdefine32 = value; }
			get { return _cdefine32; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cdefine33
		{
			set { _cdefine33 = value; }
			get { return _cdefine33; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? cdefine34
		{
			set { _cdefine34 = value; }
			get { return _cdefine34; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? cdefine35
		{
			set { _cdefine35 = value; }
			get { return _cdefine35; }
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? cdefine36
		{
			set { _cdefine36 = value; }
			get { return _cdefine36; }
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? cdefine37
		{
			set { _cdefine37 = value; }
			get { return _cdefine37; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int isosid
		{
			set { _isosid = value; }
			get { return _isosid; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string citemcode
		{
			set { _citemcode = value; }
			get { return _citemcode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string citem_class
		{
			set { _citem_class = value; }
			get { return _citem_class; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? dkl1
		{
			set { _dkl1 = value; }
			get { return _dkl1; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? dkl2
		{
			set { _dkl2 = value; }
			get { return _dkl2; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string citemname
		{
			set { _citemname = value; }
			get { return _citemname; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string citem_cname
		{
			set { _citem_cname = value; }
			get { return _citem_cname; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cfree3
		{
			set { _cfree3 = value; }
			get { return _cfree3; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cfree4
		{
			set { _cfree4 = value; }
			get { return _cfree4; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cfree5
		{
			set { _cfree5 = value; }
			get { return _cfree5; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cfree6
		{
			set { _cfree6 = value; }
			get { return _cfree6; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cfree7
		{
			set { _cfree7 = value; }
			get { return _cfree7; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cfree8
		{
			set { _cfree8 = value; }
			get { return _cfree8; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cfree9
		{
			set { _cfree9 = value; }
			get { return _cfree9; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cfree10
		{
			set { _cfree10 = value; }
			get { return _cfree10; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? cinvauthid
		{
			set { _cinvauthid = value; }
			get { return _cinvauthid; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cscloser
		{
			set { _cscloser = value; }
			get { return _cscloser; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? irowno
		{
			set { _irowno = value; }
			get { return _irowno; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? imoquantity
		{
			set { _imoquantity = value; }
			get { return _imoquantity; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? icusbomid
		{
			set { _icusbomid = value; }
			get { return _icusbomid; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cconfigstatus
		{
			set { _cconfigstatus = value; }
			get { return _cconfigstatus; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string ccomunitcode
		{
			set { _ccomunitcode = value; }
			get { return _ccomunitcode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? ippartseqid
		{
			set { _ippartseqid = value; }
			get { return _ippartseqid; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? ippartid
		{
			set { _ippartid = value; }
			get { return _ippartid; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? ippartqty
		{
			set { _ippartqty = value; }
			get { return _ippartqty; }
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? dpremodate
		{
			set { _dpremodate = value; }
			get { return _dpremodate; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? iquoid
		{
			set { _iquoid = value; }
			get { return _iquoid; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cquocode
		{
			set { _cquocode = value; }
			get { return _cquocode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cbarcode
		{
			set { _cbarcode = value; }
			get { return _cbarcode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string ccontractid
		{
			set { _ccontractid = value; }
			get { return _ccontractid; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string ccontracttagcode
		{
			set { _ccontracttagcode = value; }
			get { return _ccontracttagcode; }
		}
		/// <summary>
		/// 
		/// </summary>
		//public Guid ccontractrowguid
		//{
		//	set { _ccontractrowguid = value; }
		//	get { return _ccontractrowguid; }
		//}
		/// <summary>
		/// 
		/// </summary>
		public string batomodel
		{
			set { _batomodel = value; }
			get { return _batomodel; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string bptomodel
		{
			set { _bptomodel = value; }
			get { return _bptomodel; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string ccusinvcode
		{
			set { _ccusinvcode = value; }
			get { return _ccusinvcode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string ccusinvname
		{
			set { _ccusinvname = value; }
			get { return _ccusinvname; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? fcusminprice
		{
			set { _fcusminprice = value; }
			get { return _fcusminprice; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string borderbom
		{
			set { _borderbom = value; }
			get { return _borderbom; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int borderbomover
		{
			set { _borderbomover = value; }
			get { return _borderbomover; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? idemandtype
		{
			set { _idemandtype = value; }
			get { return _idemandtype; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cdemandcode
		{
			set { _cdemandcode = value; }
			get { return _cdemandcode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cdemandmemo
		{
			set { _cdemandmemo = value; }
			get { return _cdemandmemo; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? iprekeepquantity
		{
			set { _iprekeepquantity = value; }
			get { return _iprekeepquantity; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? iprekeeptotquantity
		{
			set { _iprekeeptotquantity = value; }
			get { return _iprekeeptotquantity; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? iprekeeptotnum
		{
			set { _iprekeeptotnum = value; }
			get { return _iprekeeptotnum; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int busecusbom
		{
			set { _busecusbom = value; }
			get { return _busecusbom; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? iprekeepnum
		{
			set { _iprekeepnum = value; }
			get { return _iprekeepnum; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string binvmodel
		{
			set { _binvmodel = value; }
			get { return _binvmodel; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string csrpolicy
		{
			set { _csrpolicy = value; }
			get { return _csrpolicy; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? fpurquan
		{
			set { _fpurquan = value; }
			get { return _fpurquan; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int btracksalebill
		{
			set { _btracksalebill = value; }
			get { return _btracksalebill; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? iadvancedate
		{
			set { _iadvancedate = value; }
			get { return _iadvancedate; }
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? dreleasedate
		{
			set { _dreleasedate = value; }
			get { return _dreleasedate; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? fimquantity
		{
			set { _fimquantity = value; }
			get { return _fimquantity; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? fomquantity
		{
			set { _fomquantity = value; }
			get { return _fomquantity; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bproxyforeign
		{
			set { _bproxyforeign = value; }
			get { return _bproxyforeign; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool ballpurchase
		{
			set { _ballpurchase = value; }
			get { return _ballpurchase; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bspecialorder
		{
			set { _bspecialorder = value; }
			get { return _bspecialorder; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool binvbatch
		{
			set { _binvbatch = value; }
			get { return _binvbatch; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool btrack
		{
			set { _btrack = value; }
			get { return _btrack; }
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? dedate
		{
			set { _dedate = value; }
			get { return _dedate; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool bproductbill
		{
			set { _bproductbill = value; }
			get { return _bproductbill; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? iaoids
		{
			set { _iaoids = value; }
			get { return _iaoids; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cpreordercode
		{
			set { _cpreordercode = value; }
			get { return _cpreordercode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string dbclosedate
		{
			set { _dbclosedate = value; }
			get { return _dbclosedate; }
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? dbclosesystime
		{
			set { _dbclosesystime = value; }
			get { return _dbclosesystime; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int bgift
		{
			set { _bgift = value; }
			get { return _bgift; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int bsaleprice
		{
			set { _bsaleprice = value; }
			get { return _bsaleprice; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? iinvid
		{
			set { _iinvid = value; }
			get { return _iinvid; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal finquantity
		{
			set { _finquantity = value; }
			get { return _finquantity; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal foutquantity
		{
			set { _foutquantity = value; }
			get { return _foutquantity; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal fretquantity
		{
			set { _fretquantity = value; }
			get { return _fretquantity; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? fretnum
		{
			set { _fretnum = value; }
			get { return _fretnum; }
		}
		/// <summary>
		/// 
		/// </summary>
		public long? iimid
		{
			set { _iimid = value; }
			get { return _iimid; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string ccorvouchtype
		{
			set { _ccorvouchtype = value; }
			get { return _ccorvouchtype; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string ccorvouchtypename
		{
			set { _ccorvouchtypename = value; }
			get { return _ccorvouchtypename; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? icorrowno
		{
			set { _icorrowno = value; }
			get { return _icorrowno; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cparentcode
		{
			set { _cparentcode = value; }
			get { return _cparentcode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cchildcode
		{
			set { _cchildcode = value; }
			get { return _cchildcode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? fchildqty
		{
			set { _fchildqty = value; }
			get { return _fchildqty; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? fchildrate
		{
			set { _fchildrate = value; }
			get { return _fchildrate; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? icalctype
		{
			set { _icalctype = value; }
			get { return _icalctype; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cordercode
		{
			set { _cordercode = value; }
			get { return _cordercode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int bproducebyfeatureallocate
		{
			set { _bproducebyfeatureallocate = value; }
			get { return _bproducebyfeatureallocate; }
		}
		/// <summary>
		/// 
		/// </summary>
		public long? icurpartid
		{
			set { _icurpartid = value; }
			get { return _icurpartid; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cfactorycode
		{
			set { _cfactorycode = value; }
			get { return _cfactorycode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cfactoryname
		{
			set { _cfactoryname = value; }
			get { return _cfactoryname; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? gcsourceid
		{
			set { _gcsourceid = value; }
			get { return _gcsourceid; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? gcsourceids
		{
			set { _gcsourceids = value; }
			get { return _gcsourceids; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cdetailsdemandcode
		{
			set { _cdetailsdemandcode = value; }
			get { return _cdetailsdemandcode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cdetailsdemandmemo
		{
			set { _cdetailsdemandmemo = value; }
			get { return _cdetailsdemandmemo; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cvencode
		{
			set { _cvencode = value; }
			get { return _cvencode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cvenname
		{
			set { _cvenname = value; }
			get { return _cvenname; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cvenabbname
		{
			set { _cvenabbname = value; }
			get { return _cvenabbname; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cmdepcode
		{
			set { _cmdepcode = value; }
			get { return _cmdepcode; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string cmdepname
		{
			set { _cmdepname = value; }
			get { return _cmdepname; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int? forecastdid
		{
			set { _forecastdid = value; }
			get { return _forecastdid; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? fappqty
		{
			set { _fappqty = value; }
			get { return _fappqty; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? fstockquan
		{
			set { _fstockquan = value; }
			get { return _fstockquan; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? fstockquano
		{
			set { _fstockquano = value; }
			get { return _fstockquano; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? fcanusequan
		{
			set { _fcanusequan = value; }
			get { return _fcanusequan; }
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? fcanusequano
		{
			set { _fcanusequano = value; }
			get { return _fcanusequano; }
		}
		#endregion Model
	}
}